<? require_once('passwords.php'); ?>

<?
	
function getConnection()
{
    global $mySqlPassword;
    global $username;
    global $database;
      $conn = mysqli_connect('localhost', $username, $mySqlPassword, $database );
      if(empty($conn))
   	{
   		die("Error: " . mysqli_connect_error());
       }
      return $conn;
}

?>